<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib  uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="../assets/css/bootstrap.min.css" rel="stylesheet" />
        <link rel="stylesheet" href="../css/style.css"/>       
        <link href="assets/css/codemirror.css" rel="stylesheet">
        <link rel="stylesheet" href="../assets/css/ace.min.css" />
        <link rel="stylesheet" href="../assets/css/font-awesome.min.css" />
		<!--[if IE 7]>
		  <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
		<![endif]-->
        <!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->
			<script src="assets/js/jquery.min.js"></script>

		<!-- <![endif]-->

		<!--[if IE]>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<![endif]-->

		<!--[if !IE]> -->

		<script type="text/javascript">
			window.jQuery || document.write("<script src='../assets/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
		</script>

		<!-- <![endif]-->

		<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->

		<script type="text/javascript">
			if("ontouchend" in document) document.write("<script src='../assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>
		<script src="../assets/js/bootstrap.min.js"></script>
		<script src="../assets/js/typeahead-bs2.min.js"></script>
		<!-- page specific plugin scripts -->
		<script src="../assets/js/jquery.dataTables.min.js"></script>
		<script src="../assets/js/jquery.dataTables.bootstrap.js"></script>
        <script type="text/javascript" src="../js/H-ui.js"></script> 
        <script type="text/javascript" src="../js/H-ui.admin.js"></script> 
        <script src="../assets/layer/layer.js" type="text/javascript" ></script>
        <script src="../assets/laydate/laydate.js" type="text/javascript"></script>
<title>添加客户</title>
<br/>
<div style="margin-left: 100px">
   <form action="../client/update.do" method="post">
   <input type="hidden" name="id" value="${client.id}"/>
    <table>
    	<tr style="height: 50px">
    		<td>客户名称：</td>
    		<td><font color="red">*</font><input type="text" name="clientidname" value="${client.clientidname}"/> </td>
    	</tr>
    	<tr style="height: 50px">
    		<td>联系电话：</td>
    		<td><font color="red">*</font><input type="text" name="phone" value="${client.phone }"/> </td>
    	</tr>
    	<tr style="height: 45px">
    		<td>性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：</td>
    		<td><font color="red">*</font>&nbsp;&nbsp;
    		<c:if test="${client.sex == '男' }">
    		<input type="radio" name="sex" value="男"  checked="checked"/>男 &nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="sex" value="女"/>女
    		</c:if>
    		<c:if test="${client.sex == '女' }">
    		<input type="radio" name="sex" value="男"  />男 &nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="sex" value="女" checked="checked"/>女
    		</c:if>
    		</td>
    	</tr>
    	<tr style="height: 50px">
    		<td>证件类型：</td>
    		<td>&nbsp;&nbsp;&nbsp;&nbsp;<select name="type">
    			<option value="身份证" <c:if test="${client.type == '身份证' }">selected="selected"</c:if>>身份证</option>
    			<option value="护照" <c:if test="${client.type == '护照' }">selected="selected"</c:if>>护照</option>
    			<option value="军官证"<c:if test="${client.type == '军官证' }">selected="selected"</c:if>>军官证</option>
    		</select> </td>
    	</tr>
    	<tr style="height: 50px">
    		<td>证件号码：</td>
    		<td>&nbsp;&nbsp;<input type="text" name="numcode" value="${client.numcode}"/> </td>
    	</tr>
    	<tr style="height: 50px">
    		<td>职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;业：</td>
    		<td>&nbsp;&nbsp;<input type="text" name="job" value="${client.job}"/> </td>
    	</tr >
    	<tr style="height: 50px">
    		<td>收&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;入：</td>
    		<td>&nbsp;&nbsp;<input type="text" name="money" value="${client.money}"/> </td>
    	</tr>
    	<tr style="height: 50px">
    		<td>描&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;述：</td>
    		<td>&nbsp;&nbsp;<input type="text" name="miaoshu" value="${client.miaoshu}"/> </td>
    	</tr>
    	<tr style="height: 50px">
    		<td>地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：</td>
    		<td>&nbsp;&nbsp;<input type="text" name="address" value="${client.address}"/> </td>
    	</tr>
    	<tr style="height: 50px" align="center">
    		<td colspan="2"><input type="submit" value="修改" style="width: 70px;height: 27px;color: white;background-color: orange" /></td>
    		
    	</tr>
    </table>
    
   </form> 
</div>
</head>

<body>
</body>
</html>

